import com.taobao.api.DefaultTaobaoClient
import com.taobao.api.request.UserSellerGetRequest

String appkey = '23078515'
String appSecret = '83085e9141e4767e6815b9a490263848'
String sessionkey = ''

final String url = 'http://gw.api.taobao.com/router/rest'

def client = new DefaultTaobaoClient(url, appkey, appSecret)

def req = new UserSellerGetRequest()
req.setFields('nick,user_id,type')

def resp = client.execute(req, sessionkey)
println resp.body